<!doctype html>
<html>
<%@ page language="java" pageEncoding="UTF-8" %>
<head>
    <%@ include file="/WEB-INF/views-jsp/include/taglib/taglib.jsp" %>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ include file="/WEB-INF/views-jsp/include/link/link.jsp" %>
    <%@ include file="/WEB-INF/views-jsp/include/script/script.jsp" %>
    <script type="text/javascript" src="${path}/html/js/js-jsp/layout-goback.js"></script>
</head>
<body>
<div class="place">
    <span>当前位置：</span>
    <ul class="placeul">
        <li><a url="${path}/alarmSign/index.do" iconCls="${param.iconCls}" closable="true" >警示信息</a></li>
        <li><a>警示详情</a></li>
    </ul>
</div>
<div class="descBox">
    <table id="dustProCheckPointDesc" align="center" width="50%">
        <tr>
            <td><span>设备名称：</span></td>
            <td><span>${requestScope.alarmSign.deviceName}</span></td>
        </tr>
        <tr>
            <td><span>设备编号：</span></td>
            <td><span>${requestScope.alarmSign.deviceId}</span></td>
        </tr>
        <tr>
            <td><span>所属项目：</span></td>
            <td><span>${requestScope.alarmSign.project.prName}</span></td>
        </tr>
        <tr>
            <td><span>警报内容：</span></td>
            <td><span>${requestScope.alarmSign.alarmContent}</span></td>
        </tr>
        <tr>
            <td><span>警报类型：</span></td>
            <td><span>${requestScope.alarmSign.alarmType == 1 ? '<span style="color: green; font-weight: bold">警报</span>' : '<span style="color: red; font-weight: bold">预警</span>'}
            </span></td>
        </tr>
        <tr>
            <td><span>警报数值：</span></td>
            <td><span>${requestScope.alarmSign.alarmData} ${requestScope.alarmSign.measureUnit}</span></td>
        </tr>
        <tr>
            <td><span>警报状态：</span></td>
            <td><span>
                ${requestScope.alarmSign.alarmStatus == 1 ? '<span style="color: red; font-weight: bold">未处理</span>' : '<span style="color: red; font-weight: bold">已处理</span>'}
            </span></td>
        </tr>
        <tr>
            <td><span>处理人：</span></td>
            <td><span>${requestScope.alarmSign.resolveUser}</span></td>
        </tr>
        <tr>
            <td><span>处理时间：</span></td>
            <td><span><fmt:formatDate value="${requestScope.alarmSign.resolveTime}"
                                      pattern="yyyy-MM-dd HH:mm:ss"/></span></td>
        </tr>
        <tr>
            <td><span>处理方式：</span></td>
            <td><span>${requestScope.alarmSign.resolveContent}</span></td>
        </tr>
        <tr>
            <td><span>创建者：</span></td>
            <td><span>${requestScope.alarmSign.createBy}<span</td>
        </tr>
        <tr>
            <td><span>报警时间：</span></td>
            <td><span><fmt:formatDate value="${requestScope.alarmSign.alarmTime}" pattern="yyyy-MM-dd HH:mm:ss"/></span>
            </td>
        </tr>
    </table>
</div>
</body>
</html>
